#ifndef READALLFILES_H
#define READALLFILES_H

#include <QWidget>

class QMessageBox;
class BinData;

namespace Ui {
class ReadAllFiles;
}

class ReadAllFiles : public QWidget
{
    Q_OBJECT

public:
    explicit ReadAllFiles(QWidget *parent = 0);
    ~ReadAllFiles();

private slots:
   void openFile();

   void readFiles();
private:
    Ui::ReadAllFiles *ui;
    QString strPath;
    QMessageBox *message;
    QString strInfo;

private:
    QByteArray getBmpColor_rgb565(QString fileName);

    qint16 imgHeight;
    qint16 imgWidth;
    qint64 imgOffset;
};

#endif // READALLFILES_H
